package com.gszyxy.mallfour.plateform.service.impl;


import com.gszyxy.mallfour.plateform.mapper.PlateformMapper;
import com.gszyxy.mallfour.plateform.pojo.PlateformMerchant;
import com.gszyxy.mallfour.plateform.service.PlateformService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class PlateformServiceImpl implements PlateformService {


    @Resource
    private PlateformMapper plateformMapper;

    @Override
    public List<PlateformMerchant> list() {
        return plateformMapper.list();
    }

    @Override
    public int updateMerchant(Integer mid) {
        return plateformMapper.updateMerchant(mid);
    }

    @Override
    public int updateUnStatusByMid(Integer mid) {
        return plateformMapper.updateUnStatusByMid(mid);
    }

    @Override
    public List<PlateformMerchant> findByCondition(String mrealName) {
        return plateformMapper.findByCondition(mrealName);
    }
}
